<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>指尖上行</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/css.css">
<link rel="stylesheet" href="../../css/FinanceStatement.css">
<link rel="stylesheet" href="../../../bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../bower_components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../bower_components/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="../../../dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="../../../dist/css/skins/_all-skins.min.css">
<link rel="stylesheet" href="../../../bower_components/jvectormap/jquery-jvectormap.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
<link rel="stylesheet" href="../../../bower_components/bootstrap-daterangepicker/daterangepicker.css">
<link rel="stylesheet" href="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition skin-blue sidebar-mini"  data-treeview="5" data-treeview-menu="7">
<div class="wrapper">
  <header class="main-header"> <a class="logo"> <span class="logo-mini"><b>指</b></span> <span class="logo-lg"><img src="../../img/logo.png"/></span></a>
    <nav class="navbar navbar-static-top"><a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"></a></nav>
  </header>
  <aside class="main-sidebar">
    <section class="sidebar">
      <ul class="sidebar-menu" data-widget="tree">
       
      </ul>
    </section>
  </aside>
  <div class="content-wrapper">
    <section class="content-search">
      <div class="form-group">
        <label>用户ID</label>
        <input type="text" class="form-control w140" placeholder="用户ID" id="uId">
      </div>
      <div class="form-group">
        <label>交易状态</label>
        <select class="form-control w140" id="pStatus">
          <option value="">全部</option>
          <option value="0">创建订单</option>
          <option value="1">订单支付中</option>
          <option value="2">订单支付成功</option>
          <option value="3">订单支付失败</option>
          <option value="4">订单关闭</option>
	    </select>
      </div>
      <div class="form-group">
        <label>交易渠道</label>
        <select class="form-control w140" id="pChannelType">
          <option value="">全部</option>
          <option value="1">支付宝</option>
          <option value="2">微信</option>
	    </select>
      </div>
      <div class="form-group">
        <label>资金流动方向</label>
        <select class="form-control w140" id="moneyTo">
            <option value="">全部</option>
            <option value="">平台内</option>
            <option value="">平台外</option>
        </select>
      </div>
      <div class="form-group">
        <label>交易类型</label>
        <select class="form-control w140" id="type">
            <option value="">全部</option>
            <option value="">玩家充值</option>
            <option value="">订单支付</option>
            <option value="">大神提现</option>
            <option value="">订单退款</option>
        </select>
      </div>
      <div class="form-group">
        <label>订单号</label>
        <input type="text" class="form-control w140" placeholder="订单号" id="orderId">
      </div>
      <div class="form-group">
        <label>交易流水号</label>
        <input type="text" class="form-control w140" placeholder="交易流水号" id="tradeNo">
      </div>
      <div class="form-group">
        <label>申请时间</label>
        <div class="input-group date w140 fl">
          <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div>
          <input type="text" class="form-control pull-right" id="datepicker">
        </div>
        <span>到</span>
        <div class="input-group date w140 fl">
          <div class="input-group-addon"> <i class="fa fa-calendar"></i> </div>
          <input type="text" class="form-control pull-right" id="datepicker2">
        </div>
      </div>
      <div class="form-group">
        <button type="button" class="btn btn-primary searchbtn">搜索</button>
      </div>
    </section>
    <section class="content-header"> 总计：支出金币<span class="pGoldBNum"></span>，钻石<span class="pDiamondBNum"></span>，RMB<span class="pValueBNum"></span>。收入金币<span class="pGoldNum"></span>，钻石<span class="pDiamondNum"></span>，RMB<span class="pValueNum"></span>  </section>
    <section class="content">
      <div class="box">
        <div class="box-header">
          <h3 class="box-title">财务对账单列表</h3>
        </div>
        <div class="box-body">
          <table id="example1" class="table table-bordered table-striped" style=" min-width:1900px">
          </table>
          <div class="paginationDiv">
            <ul class="pagination">
              <li class="prev"><a>上一页</a></li>
              <li class="next"><a>下一页</a></li>
            </ul>
            <input type="text" value="1" class="form-control curpage"/>
            <button type="button" class="btn btn-default gopage">跳转</button>
            <span class="pageinfo"></span> </div>
        </div>
      </div>
    </section>
  </div>
</div>
<script type="text/html" id="datalist">
	<thead>
	  <tr role="row">
		<th>发生时间</th>
		<th>订单号</th>
		<th>交易流水号</th>
		<th>交易渠道</th>
		<th>收入金额</th>
		<th>支出金额</th>
		<th>付款方</th>
		<th>收款方</th>
		<th>资金流动方向</th>
		<th>交易类型</th>
		<th>用户ID</th>
		<th>交易状态</th>
		<th>收入金额（钻石）</th>
		<th>支出金额（钻石）</th>
		<th>收入金额（金币）</th>
		<th>支出金额（金币）</th>
	  </tr>
    </thead>
	<tbody>
	<%for(var i = 0,len= dataset.length;i < len;i++){%>
	  <tr role="row">
		<td><%=dataset[i].pApplyDate.substring(0,19)%></td>
		<td><%=dataset[i].orderId%></td>
		<td><%=dataset[i].tradeNo%></td>
		<td><%=dataset[i].pChannelType%></td>
		<td><%=dataset[i].pValue%></td>
		<td><%=dataset[i].pValueB%></td>
		<td><%=dataset[i].payto%></td>
		<td><%=dataset[i].payFrom%></td>
		<td><%=dataset[i].moneyTo=="1"?"平台内":"平台外"%></td>
		<td><%=dataset[i].type%></td>
		<td><%=dataset[i].uId%></td>
		<td><%=dataset[i].pStatus%></td>
		<td><%=dataset[i].pDiamond%></td>
		<td><%=dataset[i].pDiamondB%></td>
		<td><%=dataset[i].pGold%></td>
		<td><%=dataset[i].pGoldB%></td>
      </tr>
	<%}%>
    </tbody>
</script> 
<script src="../../../bower_components/jquery/dist/jquery.min.js"></script> 
<script src="../../../bower_components/jquery-ui/jquery-ui.min.js"></script> 
<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script> 
<script src="../../../bower_components/raphael/raphael.min.js"></script> 
<script src="../../../bower_components/jquery-sparkline/dist/jquery.sparkline.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script> 
<script src="../../../plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script> 
<script src="../../../bower_components/jquery-knob/dist/jquery.knob.min.js"></script> 
<script src="../../../bower_components/moment/min/moment.min.js"></script> 
<script src="../../../bower_components/bootstrap-daterangepicker/daterangepicker.js"></script> 
<script src="../../../bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="../../../bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js"></script>  
<script src="../../../plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script> 
<script src="../../../bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script> 
<script src="../../../bower_components/fastclick/lib/fastclick.js"></script> 
<script src="../../../dist/js/adminlte.min.js"></script>
<script src="../../js/template-web.js"></script> 
<script src="../../js/js.js"></script>
<script src="../../js/FinanceStatement.js"></script> 
<script>
  $(function () {
	$('#datepicker').datepicker({format:"yyyy-mm-dd",language:"zh-CN",autoclose: true,todayHighlight:true});
	$('#datepicker2').datepicker({format:"yyyy-mm-dd",language:"zh-CN",autoclose: true,todayHighlight:true});
  })
</script>
</body>
</html>
